package com.study.design.builder.base;

/**
 * 具体构建者
 */
public class ConcreteBuilder extends Builder {

    private Product product = new Product();

    @Override
    public void setPart() {
        //设置产品零件,产品内部处理逻辑

    }

    @Override
    public Product buildProduct() {
        //构建一个产品
        return product;
    }
}
